from wormbane.model.armor import Armor
from wormbane.model.race import Race
from wormbane.model.weapon import Weapon

class Elf(Race):
    color = 'green'
    health = 2

    @classmethod
    def create_equipment(cls):
        yield Weapon(kind = 'spear', handedness = 'two-handed')
        yield Armor(material = 'leather')
        yield Armor(kind = 'boots')
        yield Armor(kind = 'cloak', color = 'green')
